// Multiple inherit

#include <iostream>
#include <cstring>
using namespace std;

class A {
public:
	int m_a;
	int m_c;
};

class B {
public:
	int m_b;
	int m_c;
};

class D : public A, public B{
public:
	int m_d;
	void foo( ) {
		A::m_c = 8000;
	}
};

// designer
// ------------------------------------------------------------------
// user

int main( void ) { 
	D d;
	cout << "sizeof( d ) : " << sizeof( d ) << endl;
	// d.m_c = 100;		err
	

	return 0;
}

